From Cppreference
| Defined in header <cstdio>
|
|
|
|
| int fwrite( const void *buffer, size_t size, size_t count, FILE *stream );
|
|
|
|
|
|
Writes count of objects in the given array buffer to the output stream stream. Objects are not interpreted in any way.
Parameters
| buffer
| -
| pointer to the first object object in the array to be written
|
| size
| -
| size of each object
|
| count
| -
| the number of the objects to be written
|
Return value
number of objects written successfully
See also
|
|
|
| prints formatted output to stdout, a file stream or a buffer (function)
|
|
|
|
| writes a character string to a file stream (function)
|
|
|
|
| reads from a file (function)
|